package org.jeecg.modules.farming.product.service.impl;

import org.jeecg.modules.farming.product.entity.ProductComment;
import org.jeecg.modules.farming.product.mapper.ProductCommentMapper;
import org.jeecg.modules.farming.product.service.IProductCommentService;
import org.jeecg.modules.system.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 供求产品-评价表
 * @Author: jeecg-boot
 * @Date:   2020-12-20
 * @Version: V1.0
 */
@Service
public class ProductCommentServiceImpl extends ServiceImpl<ProductCommentMapper, ProductComment> implements IProductCommentService {
    @Autowired
    private ProductCommentMapper productCommentMapper;

    /** 查询-我的消息 */
    public List<Map<String,Object>> getMyMessage(String unionId) {
        return productCommentMapper.getMyMessage(unionId);
    }
}
